from django.conf.urls.defaults import patterns, include, url
from django.conf import settings
from bookmarks.views.landmark import LandmarkDetailView, LandmarkListView, LandmarkPlaqueView
from bookmarks.views.tag import TagDetailView, TagListView
from bookmarks.views.homepage import HomePageView

urlpatterns = patterns('',
    url(r'^landmark/(?P<pk>[^/]*)/$', LandmarkDetailView.as_view(), name='landmark-detail'),
    url(r'^landmark/(?P<pk>[^/]*)/plaque/$', LandmarkPlaqueView.as_view(), name='landmark-plaque'),
    url(r'^landmarks/$', LandmarkListView.as_view(), name='landmark-list'),

    url(r'^tag/(?P<pk>[^/]*)/$', TagDetailView.as_view(), name='tag-detail'),
    url(r'^tags/$', TagListView.as_view(), name='tag-list'),

    url(r'^tour/(?P<pk>[^/]*)/$', TagDetailView.as_view(), name='tour-detail'),
    url(r'^topic/(?P<pk>[^/]*)/$', TagDetailView.as_view(), name='topic-detail'),
    url(r'^era/(?P<pk>[^/]*)/$', TagDetailView.as_view(), name='era-detail'),
    url(r'^person/(?P<pk>[^/]*)/$', TagDetailView.as_view(), name='person-detail'),
    url(r'^$', HomePageView.as_view(), name='home-page')
)
